// Licensed to Elasticsearch B.V under one or more agreements.
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
// See the LICENSE file in the project root for more information.
//
// ███╗   ██╗ ██████╗ ████████╗██╗ ██████╗███████╗
// ████╗  ██║██╔═══██╗╚══██╔══╝██║██╔════╝██╔════╝
// ██╔██╗ ██║██║   ██║   ██║   ██║██║     █████╗
// ██║╚██╗██║██║   ██║   ██║   ██║██║     ██╔══╝
// ██║ ╚████║╚██████╔╝   ██║   ██║╚██████╗███████╗
// ╚═╝  ╚═══╝ ╚═════╝    ╚═╝   ╚═╝ ╚═════╝╚══════╝
// ------------------------------------------------
//
// This file is automatically generated.
// Please do not edit these files manually.
//
// ------------------------------------------------

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using System.Text.Json;
using System.Text.Json.Serialization;

#nullable restore
namespace Elastic.Clients.Elasticsearch
{
	public sealed partial class ReindexStatus
	{
		[JsonInclude]
		[JsonPropertyName("batches")]
		public long Batches { get; init; }

		[JsonInclude]
		[JsonPropertyName("created")]
		public long Created { get; init; }

		[JsonInclude]
		[JsonPropertyName("deleted")]
		public long Deleted { get; init; }

		[JsonInclude]
		[JsonPropertyName("noops")]
		public long Noops { get; init; }

		[JsonInclude]
		[JsonPropertyName("requests_per_second")]
		public float RequestsPerSecond { get; init; }

		[JsonInclude]
		[JsonPropertyName("retries")]
		public Elastic.Clients.Elasticsearch.Retries Retries { get; init; }

		[JsonInclude]
		[JsonPropertyName("throttled")]
		public Elastic.Clients.Elasticsearch.Duration? Throttled { get; init; }

		[JsonInclude]
		[JsonPropertyName("throttled_millis")]
		public long ThrottledMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("throttled_until")]
		public Elastic.Clients.Elasticsearch.Duration? ThrottledUntil { get; init; }

		[JsonInclude]
		[JsonPropertyName("throttled_until_millis")]
		public long ThrottledUntilMillis { get; init; }

		[JsonInclude]
		[JsonPropertyName("total")]
		public long Total { get; init; }

		[JsonInclude]
		[JsonPropertyName("updated")]
		public long Updated { get; init; }

		[JsonInclude]
		[JsonPropertyName("version_conflicts")]
		public long VersionConflicts { get; init; }
	}
}